﻿using System;
using System.Collections.Generic;
using System.Text;
using OpenAuth.Repository.Domain;
using OpenAuth.Repository.Core;
using Infrastructure;

namespace OpenAuth.Repository.Domain
{
    /// <summary>
    /// 查询门诊预交金充值记录
    /// </summary>
    public class CMZXX007:Entity
    {
        //[Description("商家入驻")]
        //[Required(ErrorMessage = "用户Code不能为空")]
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string hzxm { set; get; }
        /// <summary>
        /// 患者id
        /// </summary>
        public decimal patid { set; get; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public string ksrq { set; get; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public string jsrq { set; get; }
        /// <summary>
        /// 当前操作员预约 0 仅查询当前途径充值记录，1 不关联充值途径(含其他途径)。默认0
        /// </summary>
        public string czybz { set; get; }
        /// <summary>
        /// 操作员
        /// </summary>
        public string czyh { set; get; }
    }
    public class CMZXX007Response : Response
    {
        /// <summary>
        /// 预交金序号
        /// </summary>
        public decimal yjxh { set; get; }
        /// <summary>
        /// 患者姓名
        /// </summary>
        public string hzxm { set; get; }
        /// <summary>
        /// 患者id
        /// </summary>
        public decimal patid { set; get; }
        /// <summary>
        /// 收据号
        /// </summary>
        public string sjh { set; get; }
        /// <summary>
        /// 平台流水号
        /// </summary>
        public string ptlsh { set; get; }
        /// <summary>
        /// 支付方式1 支付宝 2 微信 3 银行卡
        /// </summary>
        public string zffs { set; get;}
        /// <summary>
        /// 支付金额
        /// </summary>
        public decimal zfje { set; get; }
        /// <summary>
        /// 支付流水号
        /// </summary>
        public string zflsh { set; get; }
        /// <summary>
        /// 支付时间
        /// </summary>
        public string zfsj { set; get; }
        /// <summary>
        /// 记录状态 正常为0
        /// </summary>
        public Int16? jlzt { set; get; }
        /// <summary>
        /// 当前操作员预约
        /// </summary>
        public int? dqczybz { set; get; }
    }
}
